package com.chengzzz.mysite.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chengzzz.mysite.entity.Animation;
import com.chengzzz.mysite.entity.User;
import com.chengzzz.mysite.pojo.UserPojo;
import com.chengzzz.mysite.result.Result;

import java.util.List;

/**
 * (User)表服务接口
 *
 * @author 等什么柠檬君
 * @since 2020-08-24 14:26:50
 */
public interface UserService extends IService<User> {

    Result userValidation(UserPojo userPojo);

    User userIdentValidation(User userPojo);

    User findUserByEmail(String eamil);

    Result UserRegist(User user);

    Result UserDelete(Long uuid);

    IPage<User> ListAllUser(Integer page,Integer size);

    Result UserUpdate(User user);

    Result insertUser(User user);

}